#define _CRT_SECURE_NO_WARNINGS 1
#include "Queue.h"
int main()
{
	Queue p;
	QueueInit(&p);
	QueuePush(&p, 1);
	QueuePush(&p, 2);
	QueuePush(&p, 3);
	QueuePush(&p, 4);
	
	while (QueueEmpty(&p) != 0)
	{
		printf("%d ", QueueFront(&p));
		QueuePop(&p);
	}
	QueueDestory(&p);
	return 0;
 }